<?php

return [
    'website_title' => 'test项目',
    'upload' => [//后台文件上传目录
        'url_prefix' => '',
        'avatar_path' => '/uploads/avatars',
        'video_path' => '/uploads/videos',
        'audio_path' => '/uploads/audios',
        'image_path' => '/uploads/images',
        'other_path' => '/uploads/others',
    ],
    'cdn' => [
        'image_url' => 'https://testimage.demo.cn',
    ],
    'oss' => [
        'enable' => false, // 是否开启oss同步
        'id' => 'xxx',
        'secret' => 'xxx',
        'endpoint' => 'oss-cn-shanghai-internal.aliyuncs.com',
        'bucket' => [
            'image' => 'xx-image',
            'video' => 'xx-video',
            'audio' => 'xx-audio',
            'other' => 'xx-other',
            'static' => 'xx-static'
        ],
    ],
    'qiniu' => [
        'enable' => false, // 是否开启oss同步
        'id' => 'xxx',
        'secret' => 'xxx',
        'bucket' => [
            'image' => 'xx-image',
            'video' => 'xx-video',
            'audio' => 'xx-audio',
            'other' => 'xx-other',
            'static' => 'xx-static'
        ],
    ],
];
